//
//  NCChatPhotoMessage.m
//  AGEmojiKeyboard
//
//  Created by LINAICAI on 2018/4/16.
//

#import "NCChatPhotoMessage.h"

@implementation NCChatPhotoMessage
+ (instancetype)messageWith:(UIImage *)image
                   previewSize:(CGSize)previewSize
                   senderId:(NSString *)senderId
                       date:(NSDate *)date{
    NCChatPhotoMessage *message = [[NCChatPhotoMessage alloc]initWithSenderId:senderId date:date];
    message.image = image;
    message.previewImage = image;
    message.previewSize = previewSize;
    return message;
}
@end
